package com.example.admin.feign;

import com.example.admin.feign.impl.ArtcleFeignBack;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDtos;
import com.usian.model.media.pojos.WmNews;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-article",fallback = ArtcleFeignBack.class)
public interface ArticleFeign {
    @PostMapping("article/v1/add_article")
    public Integer addArticle(@RequestBody WmNewsDtos wmNewsDtos);

}
